[PATCH] [dunecontrol] Skip directories without CMake config files for module_DIR
authorMarkus Blatt <markus@dr-blatt.de>
Wed, 20 Nov 2024 10:39:10 +0000 (11:39 +0100)
committerMarkus Blatt <markus@dr-blatt.de>
Sun, 7 Dec 2025 16:19:24 +0000 (17:19 +0100)
commit464e27a49483e8e9c20cb1fec1be09d13dc297e8
tree0ad32c1d7b89a681c2693fbf4128051b7884933c
parent81d4542ecaa971302b3344f04d83599e323f25e2
[PATCH] [dunecontrol] Skip directories without CMake config files for module_DIR

find_package(module) will fail if the directory set with module_DIR
does not contain CMake configuration file.

Hence the current approach requires that there are pkgconfig files
installed and found for each module to be used.

With this change we fall back to installed modules if the directory
does not contain any Cmake configuration files.

This fixes problems with using OPM as DUNE modules (in Debian) which
stopped shipping broken pkgconf file 2023-09

Gbp-Pq: Name dunecontrol-Skip-directories-without-CMake-config-fi.patch
bin/dunecontrol